package DesignPattern.Facade;

/**
 * @Author self
 * @Date 2024/8/12 19:55
 */

// DVD播放器
public class DvdPlayer {
    public void on() {
        System.out.println("DVD Player is on");
    }

    public void play(String movie) {
        System.out.println("Playing movie: " + movie);
    }

    public void stop() {
        System.out.println("DVD Player stopped");
    }

    public void off() {
        System.out.println("DVD Player is off");
    }
}